import { useRouter } from 'vue-router'

function useRouterHelper() {
    const router = useRouter()

    function go(path: string) {
        router.push(path)
    }

    return {
        router,
        go,
    }
}

export default useRouterHelper
